//
//  CollectionViewCell.m
//  inrtest
//
//  Created by 宋辉 on 2017/4/22.
//  Copyright © 2017年 All rights reserved.
//

#import "CollectionViewCell.h"

@implementation CollectionViewCell

-(instancetype)initWithFrame:(CGRect)frame
{
    if (self = [super initWithFrame:frame]) {
        [self CreateView];
    }
    
    return self;
}

-(void)CreateView{
    
    _NubleLab = [[UILabel alloc]initWithFrame:CGRectMake(0, 0, 40 ,40)];
    _NubleLab.backgroundColor = [UIColor whiteColor];
    _NubleLab.layer.cornerRadius = 20;
    _NubleLab.layer.masksToBounds = YES;
    _NubleLab.textAlignment = 1;
    
    _NubleLab.layer.borderColor = DEF_COLOR_MAINCOLOR.CGColor;
    _NubleLab.layer.borderWidth = 1;
    
    [self.contentView addSubview:_NubleLab];
    
}
@end
